/* Source file https://github.com/MrOtherGuy/firefox-csshacks/tree/master/chrome/compact_urlbar_megabar.css made available under Mozilla Public License v. 2.0
See the above repository for updates as well as full license text. */

/* Make urlbar appear more compact */
#urlbar[breakout][breakout-extend] {
    margin-left: 0 !important;
    width: var(--urlbar-width) !important;
    margin-top: calc((var(--urlbar-container-height) - var(--urlbar-height)) / 2) !important;
}
:where(#urlbar) > .urlbarView{
  margin-inline: 0 !important;
  width: auto !important;
}
.urlbarView-row{
  padding: 0 2px !important;
}
.urlbarView-row-inner{
  padding-inline-start: 4px !important;
}
:where(#urlbar) > .urlbar-background,
#urlbar-background{
  animation: none !important;
}
:where(#urlbar) > .urlbar-input-container{
  padding: var(--urlbar-container-padding,0) 1px !important;
  height: var(--urlbar-height) !important; 
}
#identity-icon{
  margin-block: var(--urlbar-icon-padding);
}
:where(#urlbar) > .urlbarView > .search-one-offs:not([hidden]){
  padding-block: 0px !important;
}